home *** CD-ROM | disk | FTP | other *** search
- Path: fido.asd.sgi.com!news
- From: austern@isolde.mti.sgi.com (Matt Austern)
- Newsgroups: comp.lang.pascal.delphi.misc,comp.lang.c++
- Subject: Re: C++ with Zapp vs. Delphi
- Date: 18 Jan 1996 22:06:55 GMT
- Organization: SGI
- Message-ID: <AUSTERN.96Jan18140655@isolde.mti.sgi.com>
- References: <4coar6$d4n@sun4.bham.ac.uk> <4coip7$69s@news1.usa.pipeline.com>
- <fRA+w0JfFG5X089yn@oslonett.no> <4dcc4d$6anc@tigger.cc.uic.edu>
- <4ddke3$5lf@fountain.mindlink.net>
- <NEWTNews.821822862.4682.keith@keith.gpim.xerox.com>
- <4dmdcd$6sv@crc-news.doc.ca>
- Reply-To: austern@mti.sgi.com
- NNTP-Posting-Host: isolde.mti.sgi.com
- In-reply-to: Slobodan Celenkovic's message of 18 Jan 1996 21:17:01 GMT
-
- In article <4dmdcd$6sv@crc-news.doc.ca> Slobodan Celenkovic <slobodan@cs.unh.edu> writes:
-
- > Multiple inheritance is one of the controversial features implemented by
- > few languages, including C++. There were many debates about the need for
- > MI. Indeed one can come up with very good examples where it is needed.
- > Yet as far as I know MI is not really used much nor needed very often. In
- > practice I haven't had a need for it. So it is not really very important
- > and certainly not the key feature of OO.
-
- Multiple inheritance of implementations can get messy and is rarely
- needed. Multiple inheritance of interfaces, though, is extremely
- common; there are lots of designs that are absolutely impossible
- without it. And even in the case of implementation inheritance:
- please note that I said "rarely needed", not "never needed".
-
- Nor is multiple inheritance a feature that's unique to C++. It's
- supported by C++, Eiffel, Sather, Java, CLOS, and other languages.
- (In Java it only applies interfaces.)
- --
- Matt Austern
- SGI: MTI Compilers Group
- austern@isolde.mti.sgi.com
-